package TouristManagement;

/**
 * Struct definition : InfoSite
 * 
 * @author OpenORB Compiler
*/
public final class InfoSite implements org.omg.CORBA.portable.IDLEntity
{
    /**
     * Struct member siteName
     */
    public String siteName;

    /**
     * Struct member visited
     */
    public boolean visited;

    /**
     * Struct member currentNbVisitors
     */
    public short currentNbVisitors;

    /**
     * Struct member maxNbVisitors
     */
    public short maxNbVisitors;

    /**
     * Struct member infosTraffic
     */
    public TouristManagement.InfoTraffic[] infosTraffic;

    /**
     * Struct member openingHours
     */
    public TouristManagement.Hours openingHours;

    /**
     * Struct member closingHours
     */
    public TouristManagement.Hours closingHours;

    /**
     * Default constructor
     */
    public InfoSite()
    { }

    /**
     * Constructor with fields initialization
     * @param siteName siteName struct member
     * @param visited visited struct member
     * @param currentNbVisitors currentNbVisitors struct member
     * @param maxNbVisitors maxNbVisitors struct member
     * @param infosTraffic infosTraffic struct member
     * @param openingHours openingHours struct member
     * @param closingHours closingHours struct member
     */
    public InfoSite(String siteName, boolean visited, short currentNbVisitors, short maxNbVisitors, TouristManagement.InfoTraffic[] infosTraffic, TouristManagement.Hours openingHours, TouristManagement.Hours closingHours)
    {
        this.siteName = siteName;
        this.visited = visited;
        this.currentNbVisitors = currentNbVisitors;
        this.maxNbVisitors = maxNbVisitors;
        this.infosTraffic = infosTraffic;
        this.openingHours = openingHours;
        this.closingHours = closingHours;
    }

}
